package main

import (
	"fmt"
	"strings"
)

func main() {
	str := "data/filedoc/F0001.pdf"
	sl2 := strings.Split(str, "/")
	fmt.Printf("Splitted in slice: %v\n", sl2)
	for _, val := range sl2 {
		fmt.Printf("%s - ", val)
	}
	fmt.Println()
	fmt.Println(sl2[2])
}
